import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import 'element-plus/dist/index.css'
import 'normalize.css'
import 'xgplayer/dist/index.min.css'
import pinia from '@/store'
import 'virtual:svg-icons-register'
import SvgIcon from '@/components/svg-icon/index.vue'
import 'mapbox-gl/dist/mapbox-gl.css'
import '@/utils/browserPatch.js'
import '@/assets/styles/mapbox-popup.scss'

import directives from '@/directives/index.js'

const app = createApp(App)
app.use(directives)
app.use(router)
app.use(pinia)
app.mount('#app')
app.component('SvgIcon', SvgIcon)
